# -*- coding: utf-8 -*-
'''
@author: Hugo
@file: md5加密.py
@time: 2021/8/19 13:45
'''
from hashlib import md5


def md(content):
    m = md5()
    m.update(content.encode(encoding='utf8'))
    str_md5 = m.hexdigest()
    return str_md5
